Prioritized-routing for an ad-hoc, peer-to-peer, mobile radio access system

ABSTRACT

An ad-hoc, peer-to-peer radio access system having a series of remote terminals, where each remote terminal is capable of forming a link, or hop, of the routing of a call made by one of the series of terminals. The status of the battery of each terminal which may potentially form part of the routing path of a call is reported to other terminals, whereby the routing path for a call will be decided also based on the status of the battery-charge of each terminal along the routing path.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] Priority of provision application serial No. 60/248,182, on Nov. 13, 2000 is herewith claimed.

BACKGROUND OF THE INVENTION

[0002] The present invention is directed to a method of routing radio telephone calls of an ad-hoc, peer-to-peer radio system, and, in particular, to such an ad-hoc, peer-to-peer radio system disclosed in copending application Ser. No. 09/705,588, filed on Nov. 3, 2001, entitled “Methods and Apparatus for Coordinating Channel Access to Shared Parallel Data Channels”, which application is incorporated by reference herein in its entirety. The network system having coordinating channel access to shared parallel data channels via a separate reservation channel of copending application Ser. No. 09/705,588 is directed to a network system, such as radio network, where each node, or radio terminal, of the network is capable of serving as a node or hop of a routing path of a call from another, or to another radio terminal. In that system, communication between nodes or radio terminals is achieved using Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) protocol with the addition of multiple parallel data channels serviced by one reservation channel. By dedicating a separate reservation channel for the multiple parallel data channels, collision-free access by all of the competing nodes or terminals of the service group of the network is greatly reduced. Communications between terminals or nodes is set up by information exchanged on the separate reservation channel, which information includes all of the call set-up information such as data channel desired to be used for transferring voice, video or data, the desired power level of at least initial transmission, messaging such as Request-to-Send (RTS), Clear-to-Send (CTS), Not-Clear-to-Send (NCLS), Acknowledgment (ACK) for indicating reception of the transmitted call, Non-Acknowledgment (NACK) for indicating improper reception of the call, etc. In this system, in order to further ensure fast, adequate and collision-free transmission and reception, besides a primary modem typically provided with the transceiver of each node or terminal, a secondary modem is also provided which is dedicated to the reservation channel when the primary modem of the transceiver is occupied, such as when sending out data on a data channel. This system also provides for collision free transmission and reception between nodes or terminals by transmitting the reservation and data channels in time slots of time frames, with the information as to which time slot is to be used being included in the messaging transmitted by the reservation channel. Such a format not only provides collision-free transmission, but also allows for Quality-of-Service (QoS) for different types of Class-of-Service (CoS), Thus, not only may voice and video be transmitted, besides data, but voice and data transmission may be prioritized, so that when competing calls vie for a data channel, the delay-dependent voice or video transmissions will take precedence. This prioritization is accomplished by assigning prioritized calls for transmission in earlier time slots of a time frame.

[0003] The network system disclosed in U.S. Application Ser. No. 09/705,588 ensures that every node or terminal of a service set of terminals has the most information regarding all of other terminals of that service set, so that the choice of data channel to be used, any required delay is transmitting the call, information on power level, and the like, are checked and updated by each terminal by a practically continuous monitoring of the reservation channel.

[0004] As explained above, the system disclosed in U.S. application Ser. No. 09/705,588 utilizes protocol that provides collision-free channel access, which also emphasizes improving geographic reuse of the frequency spectrum.

[0005] In U.S. Pat. No. 5,943,322—Mayer, et al., which patent is incorporated by reference herein, there is disclosed a radio system is for use, in one embodiment, in battlefield conditions. The ad-hoc, peer-to-peer radio system of this patent does not have, nor require, a base station, as conventional cellular systems, personal communications system (PCS), and the like, require; instead, each radio terminal forming part of the ad-hoc, peer-to-peer radio system may alternatively serve as a base station, in addition to being an ordinary link terminal of the radio system, whereby, if one such terminal serving as a base station should for some reason become inoperative, another terminal may take over and serve as the base station.

[0006] The ad-hoc, peer-to-peer radio system of U.S. Pat. No. 5,943,322 is based on a transport-mechanism using a time division duplex (TDD) technique in a code division multiple access (CDMA) system. Time Division Duplex (TDD) is a way of maximizing the bits/hz/km2. Such a system not only may be used for providing commercial voice, but is also quite suited to both transmission and reception of data and video services. Time Division Duplex (TDD) systems are typically used for packet data systems as they make much more efficient use of the available bandwidth, in order to deliver a much higher effective data rate to the end user. TDD is typically used in fixed wired solutions or point-to-point wireless systems because it has its own spectrum limitations. TDD systems, however, have not been deployed for voice systems.

[0007] In the above-identified provisional application Ser. No. 60/248,182, there is disclosed an ad-hoc, peer-to-peer radio system for use as a stand-alone system that is also connected to a cellular network and/or landline. The ad-hoc mobile radio networking system thereof is capable of receiving and transmitting voice, data and video calls through any number of different types of telecommunication networks, such as the PSTN, the Internet, and the like, besides the cellular and next-generation cellular networks.

[0008] In any ad-hoc, peer-to-peer radio system, a critical consideration is the status and life of the battery of each terminal forming a part of the system. With the arrival of laptop computers, portable digital assistants (PDAs) and high-tech cellular phones, consumers are beginning to request mobile data services in addition to traditional voice services. Such devices are in use much more than traditional cellular phones, and, therefore, deplete their limited-life batteries more quickly. The ad-hoc, peer-to-peer system disclosed in the above-mentioned priority, provisional application Ser. No. 60/248,182, depletes batteries even more quickly, since each terminal can also serve as a router and relay for other terminals of the system, in order to extend the range or provide alternate routes to destinations. The ability to limit the use of the battery, therefore, is a very important element and consideration of that system.

[0009] In commonly-owned U.S. provisional application Ser. No. 60/246,833, and commonly-owned pending U.S. application serial number ______, filed on ______, entitled “Time Division Protocol for an Ad-Hoc, Peer-to-Peer Radio Network Having Coordinating Channel Access to Shared Parallel Data Channels with Separate Reservation Channel”, which applications are incorporated by reference herein, there are disclosed a protocol method and algorithm for ad-hoc network system that is based on least-energy routing of calls from and between network radio terminals. In simple terms, the major component of the routing decision is to choose the route to the destination that uses the least amount of energy over the complete route. The major reason for this is that least-energy routing minimizes the radiated RF energy, in order to reduce interference between terminals. A consequence of this is that it creates the most efficient use of the power supply of the terminals.

[0010] There are, also, other components of most conventional routing algorithms for ad-hoc, peer-to-peer radio systems that are generally related to the Quality of Service (QOS). The two major attributes of QoS are: The potential for delay, or latency, and the potential for bit errors (BER) during transmission. However, no present or prior system or algorithm has taken into consideration the impact of the battery life of the terminals, which, as stated above, should be a major and primary consideration for any network that consists of hand-held terminals, and especially for an ad-hoc, peer-to-peer radio system where batteries are used so much more as compared to conventional radio systems such as the cellular network, PCS's,and the like. Since hand-held terminals only have limited battery life in terms of trade off of size and weight, users do all that is possible in order to conserve their batteries, so that there will be sufficient life in them when they wish to use the device. As stated above, ad-hoc networks discharge a battery even more, even when the terminal owner is not using the terminal, since each terminal may also serve as a base station or a router or a link in the routing decision for connecting a call.

[0011] The present invention, therefore, is directed to the provision of the consideration of the status of the battery-charge of each terminal forming a part or link of an ad-hoc, peer-to-peer radio system, whereby the routing algorithm and method by which a call from a terminal-source is connected to the terminal-destination or to an exterior, independent radio system and/or PSTN interconnected with the ad-hoc, peer-to-peer radio system in which the present invention is deployed, also takes into consideration the status of the battery of each terminal by which the routing of the outgoing call is to be connected.

SUMMARY OF THE INVENTION

[0012] It is, therefore, the primary objective of the present invention to provide an additional criterion to the routing decision of an ad-hoc, peer-to-peer radio system, which additional criterion includes information about the status of the battery-charge of each battery which may possibly serve as a link for call-routing of call over the radio system.

[0013] It is another objective of the present invention to provide such a system where the battery of each radio terminal forming a part of the ad-hoc, peer-to-peer radio system continually calculates and transmits to other, like terminals the status of its battery-charge, whereby each terminal is capable of taking into consideration the status of each battery of each terminal of the radio system when selecting the best route for connecting a call.

[0014] It is yet another objective of the present invention to provide such a system where the battery-status information calculated and transmitted to other terminals is used in conjunction with least-energy routing of a radio telephone call in order to choose the route to the destination that uses the least amount of energy over the complete route, whereby least-energy routing minimizes the radiated RF energy, in order to reduce interference between terminals, and in order to provide the most efficient use of the battery power supply of the terminals.

[0015] According to the present invention, routing algorithms are extended to include information about the battery state of each terminal, such that if a choice of routes is available, one of which includes a low battery terminal, an alternate route will be selected. Multiple levels of battery determination may be used, the number of which may change depending upon different radio protocols and topologies. For example, a terminal that is in a charging cradle, or hooked up to an external power supply, will identify itself as having infinite battery life. A terminal with a fully charged battery will identify itself as having excellent battery life. A terminal with a low battery life will identify itself as having poor battery life, which will indicate that it should only be used for routing emergency data, or in the case of no other available option. Once the battery drops below some configurable threshold, the terminal will identify itself as having no battery life. This will allow the terminal to reserve some battery life for it's own use.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The invention will be more readily understood with reference to the accompanying drawings, where:

[0017]FIGS. 1A and 1B are schematics showing a basic, ad-hoc, peer-to-peer radio system with which the method and algorithm of the present invention may be used;

[0018]FIG. 2 is a schematic showing an example of least-energy routing with which the system of the present invention is to be used;

[0019]FIG. 3 is a schematic showing the exchange of routing tables of between end-users of an ad-hoc, peer-to-peer radio system with which the battery-status routing method and algorithm of the present invention is used;

[0020]FIGS. 4A and 4B are flow charts showing the subroutine conducted by each terminal of the ad-hoc, peer-to-peer radio system for initiating the checking of the status of its battery, either when it is in its idle state or when it in its stable, alert state;

[0021]FIG. 5 is a flow chart showing the subroutine by which the status of battery of the terminal is determined for subsequent reporting to other similar terminals in order to serve as a basis for calculating the best route of connection of a radio telephone call;

[0022]FIG. 6 is a flow chart showing the subroutine performed at the terminal-source that is initiating an outgoing radio telephone call, in order to actuate the subroutine for determining the best routing of its outgoing call; and

[0023]FIG. 7 is a flow chart showing the routing table messaging subroutine for establishing the outgoing radio telephone call which may be based not only on least energy routing, but also on the status of the battery of each terminal-link potentially forming a part of the route for connecting the outgoing radio telephone call.

DETAILED DESCRIPTION OF THE INVENTION

[0024] Referring now to the drawings in greater detail, and to FIGS. 1-3 for now, an ad-hoc, peer-to-peer radio system is shown. The ad-hoc radio system consists of a series of radios or terminals 10, which may communicate directly with each one to another, as shown in FIG. 1A, or to other terminals 10 via link-routing where other, intermediate terminals are used, as shown in FIG. 1B. For simplicity, only three such terminals 10 have been shown in FIG. 1B, it being understood that the ad-hoc, peer-to-peer radio system will employ a multitude of such terminals, whereby the routing of a call from one terminal to another will employ a number of other, intermediate terminals. Such an ad-hoc, peer-to-peer radio system is disclosed in the above-mentioned commonly-owned applications Ser. Nos. 60/246,833 and ______, and in priority application Ser. No. 60/248,182. The present invention applies to all types of ad-hoc, peer-to-peer radio systems, but has particular relevance to type disclosed in the above-mentioned copending U.S. application serial number 09/705,588.

[0025] In the ad-hoc, peer-to-peer radio system disclosed in above-mentioned patent applications, routing of a radio call from a source-terminal to a destination-terminal is achieved by a method and algorithm that calculates the routing path based on least energy; that is, the major component of the routing decision is to choose the route to the destination that uses the least amount of energy over the complete route. The major reason for this is that least-energy routing minimizes the radiated RF energy, in order to reduce interference between terminals. As a result of this, it creates the most efficient use of the power supply of the terminals.

[0026]FIG. 2 shows an extreme example of what happens without using least energy routing. The radio source uses a direct route to the destination. This route requires high power, which results in a large number of other radios being interfered with. Therefore, according to least energy routing disclosed in the above-mentioned, commonly-owned U.S. applications Ser. Nos. 60/246,833 and ______

[0027] The source radio will choose an alternative routing path with a greater number of radio-hops through intermediate terminals, which will result in reduced interference in the other radio terminals.

[0028] There are, also, other components of most conventional routing algorithms for ad-hoc, peer-to-peer radio systems that are generally related to the Quality of Service (QOS). The two major attributes of QoS are: The potential for delay, or latency, and the potential for bit errors (BER) during transmission.

[0029] As seen in FIG. 3,the routing of calls is achieved by each terminal storing a routing table if that terminal is to be part a link, or hop, of the routing path. This routing table includes all of the information required by the source-terminal in order to determine and calculate the least-energy path of routing of the call from source-terminal to the destination-terminal. Adjacent or proximate terminals 10 exchange routing tables, as seen in FIG. 3, whereby when a call is to be set up from a source-terminal, each terminal 10 already knows the routing table of its most immediate or adjacent neighbor-terminal, whereby a call may be routed to another destination-terminal, or to a router or gateway 20, for subsequent transmittal of the call to another similar cell of terminals, to a cellular switched network, or to the PSTN, and the like.

[0030] In accordance with the present invention, additional information is added to each routing table of each terminal 10, which additional information contains information about the status of the charge of the battery of that terminal, whereby when routing tables are exchanged, the battery status of each terminal is also taken into consideration when determining or calculating the best and most efficient routing path to take for completing a call from a source-terminal to a destination-terminal.

[0031] According to the preferred embodiment of the invention, each battery of each terminal 10 may assume one of four status-conditions of 2 bits, or more than four status-conditions may be employed: 00 critical 01 poor 10 full 11 infinite.

[0032] When a terminal 10 is in a charging cradle, or hooked up to an external power supply, it will identify itself as having infinite battery life—code 11. A terminal with a fully charged battery will identify itself as having excellent battery life—code 10. A terminal with a low battery life will identify itself as having poor battery life—code 01, which will indicate that it should only be used for routing emergency data, or in the case of no other available option. Once the battery drops below some configurable threshold, the terminal will identify itself as having no battery life—code 00. This will allow the terminal to reserve some battery life for it's own use.

[0033] “Battery Conservation Algorithms”

[0034] The components of the system of the present invention described above are independent of the link layer of the ad-hoc transport of that system disclosed in the above-identified commonly-owned patent applications. The present invention adds the capability to the routing layer and call-control layers of the ad-hoc network system, in order to permit the function of battery-conservation to be accomplished.

[0035] The basic reasoning behind the algorithm of the present invention is to add a component to the routing decision that includes consideration for the state of the battery. In order for this to work, the routing algorithms are extended to include information about the battery state of the terminal, such that if a choice of routes is available, one of which includes a low battery terminal, the alternate route will be selected.

[0036] Referring now to FIGS. 4-7, there are shown the flow charts for the method of adding battery-status information to the routing tables of the terminals 10. Each terminal periodically wakes up in order to check its own battery status (FIG. 4A 0 Blocks 30, 32), after which it will update, if necessary, it routing table (FIG. 5). If the status remains unchanged, then the status of the battery of that terminal will remain unchanged, or stable, as shown in FIG. 4B (block 36), and no change will be made to that terminal's routing table. Again, periodically, the terminal will self-test its battery life (block 38). The battery status is checked using the subroutine “Evaluation” (blocks 34 and 40 in FIGS. 4A and 4B, respectfully).

[0037] Referring to FIG. 5, the “Evaluation” subroutine 42 is shown. This subroutine determines whether or not its terminal's routing table needs updating based on the “check-battery status” subroutine of FIGS. 4A and 4B (block 44 of FIG. 5). One the most-recent status has been determined (block 46), it is determined which of the four status-conditions exists: Infinite—block 48(code 11), high—block 50(code 10), low—block 52(code 01), or critical—block 54 (code 00). If the status determined in block 46 is the same as that of the previous results from the “check battery status” subroutine, then the program goes to block 56, indicating that the terminal's battery is stable, indicating that no change of status from the previous determination has occurred, whereby no change is made to the terminal's routing table. However, if there has been a change from the previous status, then the program will update the terminal's routing table to the appropriate code-value. The update need not necessarily be a downgrade; if, since the last status-check of the battery the battery had been recharged, then a status-upgrade to the routing table will ensue. The updated routing table will be transmitted to each adjacent terminal of the ad-hoc, peer-peer-radio system, preferably as part of the configuration data time-frame messaging transmitted and received on the control channel, as disclosed in commonly-owned U.S. application No. 60/246,833 and Ser. No. ______, which are incorporated by reference herein. Radio terminals of the ad-hoc, peer-to-peer system thereof routinely exchange routing tables with their neighbors, either after some configurable time delay, which is typically several seconds, or when they note a change in the environment or view of the neighbors. The battery condition of the terminal then becomes a new and critical factor or parameter of the routing update message, which, according to the present invention, is incorporated into the updated routing table messaging.

[0038] Referring to FIGS. 6 and 7, there is shown the flow charts for a source terminal 60 determining (block 62) the optimal route 64 for the type of call it is sending. In FIG. 7, the routing table messaging subroutine includes calculated values for the Code Rate (block 66), the Symbol Rate (block 68), the Power Level (70), and the RTS (Request to Send) message to another node-terminal or gateway(block 70), after which is waits for the CTS (Clear to Send) message (block 72) from the other terminal or gateway.

[0039] “Terminal Battery Determination Algorithm”

[0040] The following are algorithms for performing the battery-status check and update of a terminal's battery, and its consideration in the routing decision made by a source-terminal.

[0041] /*This algorithm is used by a hand-held terminal to define the battery status and will report to other terminals in the routing data exchange: */ IF power_source = external THEN Battery := infinite ELSE IF battery_level = full THEN Battery := excellent ELSE IF battery_level >= config_param—battery THEN Battery := poor ELSE Battery := critical

[0042] /* config_param_battery is a system parameter that is provisioned over the air or the terminal interface that defines the threshold for eliminating the terminal from the routing options. This should range from 25% to 50% of the available battery power.

[0043] */

[0044] Terminals exchange routing table information on a regular basis via the time-frame messaging on the control channel of the ad-hoc, peer-to-peer radio system. These messages include information on the terminals that the initiating device can see and the parameters that it understands about those terminals. The critical components are the quality of the link between the initiating device and all those terminals, the data rates that it could maintain on those links, and the congestion level of the terminal. To this information is added the present invention's indication of the battery level of the initiating terminal.

[0045] The routing update message includes a new field battery_condition:

[0046] battery_condition (2 bits) 02 critical 03 poor 11 full 11 infinite

[0047] As previously mentioned, there are several schemes that can be employed by the source of a message to determine the optimal route to the destination. The following algorithm is based on a minimum energy routing algorithm.

[0048] source-routing (message_ptr,msg-length,destination, msg-type)

[0049] /* source based routing including link adaptation algorithm

[0050] */

[0051] opt_route(destination, msg_type)

[0052] /* determine optimal route to destination this will return the best available route based on Class Of Service (COS) from msg_type and other network parameters including link quality and battery life. The returned information will be used to calculate the data rate and power level */ calc_symbol_rate (sym_rate) calc_code_rate (code_rate) calc_pwr_level (pwr_level) send_msg(RTS,msg_length,destination,sym_rate,code_rate,pwr_level) /* send RTS to first router and await CTS to send the data packet

[0053] The Symbol Rate is a standard calculation of the number of RF chips to be used to define a symbol or bit of data in the transmission.

[0054] The Code Rate is conventional, and is a function of the direct sequence spread spectrum, and, specifically, the spreading code PN to be used for the transmission.

[0055] Power Level is defined in 1 dB steps between −27 and +28 dBm, where 28dBm is approximately equivalent to the maximum power allowed under FCC Rules for the ISN band; for other RF spectrums, the range may vary.

[0056] opt_route (destination, msg_type)

[0057] RTS refers to Request-To-Send message; CTS refers to Clear-To-Send message; msg refers to the message sent from each terminal. The “code” is one of the four 2-digit codes of the battery status described above.

[0058] /*This algorithm determines the best route to the destination based on the COS in the message type.

[0059] The following example illustrates the decision process:

[0060] Route1 term1→term4

[0061] Low latency, worst battery level=excellent, BER=high

[0062] Route 2 term1→term2→term4

[0063] High latency, worst battery level=good, BER=low

[0064] Route 3 term1→term2->term3->term4

[0065] High latency, worst battery level poor, BER=low

[0066] Route 4 term1→term5→term6→term4

[0067] Low latency, worst battery level=poor, BER=low

[0068] BER is Bit-Error-Rate; latency is delay.

[0069] In the case of a voice call that has a COS that can tolerate a high BER but not high latency, it would choose route 1 over route 4 because of the battery and because it cannot tolerate high latency.

[0070] In the case of a data call that has a COS that can tolerate high latency but not high BER, it will choose route 2 over route 3 or 4 because of the battery.

[0071] In a second embodiment, instead of utilizing four battery levels in the algorithm of the invention, there are seven battery levels used and reported.

[0072] Battery—A value from 0-7 designating the following battery conditions:

[0073] 0. IAP;

[0074] 1. Wireless Router;

[0075] 2. Subscriber Device with non-battery power;

[0076] 3. Subscriber Device with nearly full battery (>80%);

[0077] 4. Subscriber Device with battery level (>50%);

[0078] 5. Subscriber Device with battery level low (>20%);

[0079] 6. Subscriber Device (or Wireless Router) with minimal battery (>0%);

[0080] 7. Subscriber Device: Don't Use Ever. This prevention should be capable of being chosen by the network manager remotely.

[0081] The following is an example of the routing table messaging used in the present invention incorporating seven such battery status indications.

[0082] 1 Ad-Hoc Routing Header Mod ID (8 bits) Msg ID (8 bits) Version (8 bits) TOS (8 bits) Lateral (1 bits) Sequence Num (8) Carrier ID (16 bits) TTL (hops) (7 bits) Source Address (48 bits) Destination Address (48 bits) Payload (X bits)

[0083] This is the standard header for all AHRL inter-node messages. The Payload field may be an IP message to be transmitted, or any other AHRL message going over-the-air. Each field is described as:

[0084] Mod ID: the module generating the message

[0085] Msg ID: the unique message type identified assigned and known on a module-by-module basis.

[0086] Version: The software version being used by the generating terminal: 4 bits for major rev, and 4 bits for minor rev.

[0087] TOS: the standard internet TOS field which effects QoS. Inter AHR messages shall set the TOS based on a lookup table of values TBD which is based on the payload being sent.

[0088] LAT/TTL: The TTL (time to live) field is the estimated hop count based on the number of hops indicated in the routing table. One is subtracted from this count at each relaying node. If the TTL reaches zero, then the message is destroyed. The Lateral bit is used to indicate that this message has been laterally forwarded, and the hop count is not decremented.

[0089] Carrier ID: This value is used to distinguish one Arachnet system from another.

[0090] Source Address: The 48-bit hardware address of the originating terminal of the message.

[0091] Destination Address: The 48-bit hardware address of the destination terminal.

[0092] Payload: Any block of data that is to be transmitted over-the-air.

[0093] 2. Routing Advertisement Message (RA)

[0094] 2.1 Routing Advertisement Header Node Addr (48-bits) Seq. Num (8-bits) Num Entries (8-bits) Metrics (32-bits)

[0095] Note Addr—The 48-bit address of the sender of the Routing Advertisement.

[0096] Seq Num—A sequence number which is incremented each time a node sends a Routing Advertisement.

[0097] Num Entries—The number of entries in the Routing Advertisement.

[0098] Metrics—The metrics associated with a sending node. See section 3.

[0099] 2.2 Routing Advertisement Entry Node Address (48-bits) Next Hop Address (48-bits) Metrics (32-bits) Repeat up to MAX_RA_NODES...

[0100] This is the Routing Advertisement message, which is defined in the Routing module spect. It is contained within the RT to TC IMM.

[0101] Node Address—The 48-bit address of the destination being reported by the sender of the Routing Advertisement.

[0102] Next Hop Address—The 48-bit address of the node that is being used as the next hop from the sender of the Routing Advertisement towards the destination being reported.

[0103] Metrics—The metrics associated with the destination being reported. See section 3.

[0104] 3 Routing Metrics Energy (16-bits) Hops-3 Congestion-3 ^(Mobility-1) ^(Ra Heard-1) Battery-3 pad-5

[0105] The metrics sent in the routing advertisement are used to determine a Link Resistance value that becomes the cost associated with the route to the destination. The metrics are associated with the best path that the sender has currently chose to reach that destination. The following are descriptions of each metric:

[0106] Energy—A value that is calculated with the formula:

Cost=10 dB+(Power Level)+10*log10(Max Data Rate/DataRate)

EXAMPLE 1

[0107] Power Level=−10 dbm, Data Rate=8 Mbps

Cost=10+(−10)+10*log10(8/8)=10+(−10)+0

EXAMPLE 2

[0108] Power Level=+30 dbm, Data Rate=500 kbps.

Cost=10+(+30)+10*log10(8/0.5)=40+10*1.2=52

[0109] The range for this value is 0-52.

[0110] Hops—The number of hops to the sender of the RA to the destination.

[0111] Congestion—The average quantized level of congestion from the sender of the RA to the destination (range 0-7).

[0112] Mobility—A bit designating whether or not the destination node is currently moving.

[0113] Ra Heard—A bit designating whether or not the sender of the RA has recently received an RA from the destination being reported.

[0114] Battery—A value from 0-7 designating the following battery conditions:

[0115] 0. IAP

[0116] 1. Wireless Router

[0117] 2. Subscriber Device with non-battery power

[0118] 3. Subscriber Device with nearly full battery (>80%)

[0119] 4. Subscriber Device with battery level (>50%)

[0120] 5. Subscriber Device with battery level low (>20%)

[0121] 6. Subscriber Device (or Wireless Router) with minimal battery (>0%)

[0122] 7. Subscriber Device: Don't Use Ever. This prevention should be capable of being chosen by the network manager remotely

[0123] There are 5 additional bits remaining for future metrics expansion. Also, there are additional bits in the energy field that may be used.

[0124] While a specific embodiment of the invention has been shown and described, it is to be understood that numerous changes and modifications may be made therein without departing from the scope and spirit of the invention. 

What is claimed is:
 1. In an ad-hoc, peer-to-peer radio system comprising a series of terminals where each said terminal is capable of making at least one of an outgoing call or receiving an incoming call, each said terminal comprising a battery, each said terminal further comprising computer means and memory means for storing program software means therein, said memory means comprising software means for generating a routing table for use by other terminals in determining the routing path of a call to made or received thereby, and where said at least one of an outgoing call or receiving an incoming call is routed to its destination by routing said call along a route utilizing at least some of said terminals of said series of terminals as links, the improvement comprising: said software means of said memory means of each said terminal comprises means for checking the status of the respective said battery in order to include said battery-status in said routing table, whereby each terminal may calculate the most optimal routing path of terminals based on battery status.
 2. The ad-hoc, peer-to-peer radio system according to claim 1, wherein said means for checking the status of the respective said battery of said software means comprises a plurality of status indicators; said plurality of status indicators comprising at least two of: infinite, full, poor and critical; said infinite status indicator indicating a terminal whose power source is external, said full status indicator indicating an approximately fully charged battery, said poor status indicator indicating a substantially discharged battery, and said critical status indicator indicating a battery charge below a predetermined critical value.
 3. The ad-hoc, peer-to-peer radio system according to claim 2, wherein said means for checking the status of the respective said battery comprises at least all four of said status indicators.
 4. The ad-hoc, peer-to-peer radio system according to claim 1, wherein said software means of said memory means further comprises means for determining and reporting in said routing table information on least-energy routing so that the least amount of energy over a selected route is chosen for completing a call, whereby the minimizing of radiated RF energy is achieved in order to reduce interference between terminals.
 5. The ad-hoc, peer-to-peer radio system according to claim 2, wherein software means of said memory means comprises updating means for updating the battery status indicator of said respective routing table thereof based on the most recent status report determined by said means for checking the status of the respective said battery.
 6. The ad-hoc, peer-to-peer radio system according to claim 5, wherein said software means of said memory means further comprises message-generating means for generating a routing table , said routing table comprising time-frame based messaging, said time-frame based messaging having said battery-status indicator as a section thereof.
 7. The ad-hoc, peer-to-peer radio system according to claim 6, wherein time-frame based messaging is based on time division technique in a code division multiple access (CDMA) system.
 8. The ad-hoc, peer-to-peer radio system according to claim 6, wherein message-generating means for generating a routing table of each said terminal also comprises information on least-energy routing so that the least amount of energy over a selected route is chosen for completing a call, whereby the minimizing of radiated RF energy is achieved in order to reduce interference between terminals, said time-frame based messaging also having said a section for reporting least-energy routing of a call.
 9. The ad-hoc, peer-to-peer radio system according to claim 6, wherein said message-generating means for generating a routing table further comprises means for generating information on the class of service (COS) being transmitted, said means for generating information on the type of message being sent comprising the capability of reporting at least one of the following types of COS information: voice type information, data type information, and video type information, whereby routing of a call is based also on the said type of COS information being transmitted.
 10. In an ad-hoc, peer-to-peer radio system comprising a series of terminals where each said terminal is capable of making at least one of an outgoing call or receiving an incoming call, each said terminal comprising a battery, each said terminal further comprising computer means and memory means for storing program software means therein, the method comprising: (a) generating at each said terminal a routing table for use by other said terminals in determining the routing path of a call to be made or received thereby; (b) routing a call to its destination using said routing tables by selecting a path utilizing at least some of said terminals of said series of terminals as links; (c) said step (a) comprising including in each said routing table informational data about the status of the battery of the respective said terminal; (d) said step (b) comprising selecting a path for said routing at least partially based on said informational data about the status of the batteries of potential terminal-links.
 11. The method according to claim 10, wherein before said step (c): (e) checking the status of the battery charge of the respective said terminal by said software means of said memory means; and (f) inserting said status from said step (e) into the respective said routing table for said step (c).
 12. The method according to claim 11, wherein said step (e) comprises selecting said status to report to said routing table from one of a series of possible status indicator states.
 13. The method according to claim 12, wherein said step (e) comprises selecting one from more than three possible status indicator states.
 14. The method according to claim 10, wherein said step (a) comprises including in each said routing table informational data about least-energy routing so that the least amount of energy over a selected route is chosen for completing a call, whereby the minimizing of radiated RF energy is achieved in order to reduce interference between terminals.
 15. The method according to claim 14, wherein said step (a) further comprises generating informational data in each said respective routing table regarding the class of service (COS) being transmitted, said step of generating informational data on the type of message being sent comprising the reporting at least two of the following types of COS information: voice type information, data type information, and video type information, whereby routing of a call is based also on the said type of COS information being transmitted.
 16. In a radio terminal used in an ad-hoc, peer-to-peer radio system, which radio system comprising a series of radio terminals each capable of making at least one of an outgoing call or receiving an incoming call; said radio terminal comprising a battery, computer means, and memory means for storing program software means therein, said memory means comprising software means for generating a routing table for use by other terminals in determining the routing path of a call along a route utilizing at least some of said radio terminals of said series of terminals as links, the improvement comprising: said software means of said memory means of said radio terminal comprising means for checking the status of said battery in order to include said battery-status in said routing table, whereby each said radio terminal of said radio system may calculate the most optimal routing path of terminals based on battery status.
 17. The radio terminal according to claim 16, wherein said means for checking the status of the respective said battery of said software means comprises means for checking for a plurality of status indicators; said plurality of status indicators comprising at least four said status indicators of: infinite, full, poor and critical; said infinite status indicator indicating a terminal whose power source is external, said full status indicator indicating an approximately fully charged battery, said poor status indicator indicating a substantially discharged battery, and said critical status indicator indicating a battery charge below a predetermined critical value.
 18. The radio terminal according to claim 17, wherein said means for checking the status of the respective said battery comprises means for checking for at least all four of said status indicators.
 19. The radio terminal according to claim 16, wherein said software means of said memory means further comprises means for determining and reporting in said routing table information on least-energy routing so that the least amount of energy over a selected route is chosen for completing a call, whereby the minimizing of radiated RF energy is achieved in order to reduce interference between terminals.
 20. The radio terminal according to claim 16, wherein software means of said memory means comprises updating means for updating the battery status indicator of said respective routing table thereof based on the most recent status report determined by said means for checking the status of the respective said battery.
 21. The radio terminal according to claim 19, wherein said software means of said memory means further comprises message-generating means for generating said routing table, said routing table comprising time-frame based messaging, said time-frame based messaging having said battery-status indicator as a section thereof.
 22. The radio terminal according to claim 21, wherein time-frame based messaging is based on time division duplex (TDD) technique in a code division multiple access (CDMA) system.
 23. The radio terminal according to claim 21, wherein message-generating means for generating a routing table of each said terminal also comprises information on least-energy routing so that the least amount of energy over a selected route is chosen for completing a call, whereby the minimizing of radiated RF energy is achieved in order to reduce interference between terminals, said time-frame based messaging also having said a section for reporting least-energy routing of a call.
 24. The radio terminal according to claim 21, wherein said message-generating means for generating a routing table further comprises means for generating information on the class of service (COS) being transmitted, said means for generating information on the type of message being sent comprising the capability of reporting at least two of the following types of COS information: voice type information, data type information, and video type information, whereby routing of a call is based also on the said type of COS information being transmitted.
 25. A method of routing a call in an ad-hoc, peer-to-peer radio system, which radio system comprising a series of radio terminals each capable of making at least one of an outgoing call or receiving an incoming call, and where each said terminal is capable of being a link to a call made from a source-terminal, said method comprising: (a) transmitting one of voice or data over a routing path of said terminals; (b) determining the class of service (COS) of the call; (c) said step(b) comprising determining which of said voice or data is being transmitted by the call; (d) selecting a routing path based on said step (b); (e) said step (c) comprising basing its decision of a routing path based on latency, bitter error rate, and battery level of each potential terminal of a selected said routing path.
 26. The method of routing a call in an ad-hoc, peer-to-peer radio system according to claim 25, wherein when said step (b) indicates voice transmission, said step (d) comprises choosing a routing path of terminals having relatively high BER and relatively low latency.
 27. The method of routing a call in an ad-hoc, peer-to-peer radio system according to claim 25, wherein when said step (b) indicates data transmission, said step (d) comprises choosing a routing path of terminals having relatively low BER and relatively high latency. 